Skip to content

nix-flake-archive: add --no-check-sigs/--substitute-on-destination#13691

Closed
Mic92 wants to merge 1 commit intoNixOS:masterfrom
Mic92:flake-archive
Closed

nix-flake-archive: add --no-check-sigs/--substitute-on-destination#13691
Mic92 wants to merge 1 commit intoNixOS:masterfrom
Mic92:flake-archive

Conversation

@Mic92
Copy link
Member

@Mic92 Mic92 commented Aug 5, 2025

nix flake archive is a useful tool for building deployment tools, where the evaluation is done on a remote machine.
When we deal with a a remote store, we cannot push unsigned flake inputs (probably the default for most user) even if we are trusted nix user otherwise. For consistency, also allow --substitute-on-destination, The latter flag can speed up nix flake archive on large inputs present in the binary cache i.e. nixpkgs channe.

Motivation

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

`nix flake archive` is a useful tool for building deployment tools,
where the evaluation is done on a remote machine.
When we deal with a a remote store, we cannot push unsigned flake inputs
(probably the default for most user) even if we are trusted nix user
otherwise. For consistency, also allow --substitute-on-destination,
The latter flag can speed up `nix flake archive` on large inputs
present in the binary cache i.e. nixpkgs channe.
@Mic92 Mic92 requested a review from edolstra as a code owner August 5, 2025 12:15
@github-actions github-actions bot added the new-cli Relating to the "nix" command label Aug 5, 2025
@Mic92 Mic92 marked this pull request as draft August 5, 2025 12:20
@Mic92
Copy link
Member Author

Mic92 commented Aug 5, 2025

Lol @zimbatm beat me: #13277

@Mic92 Mic92 closed this Aug 5, 2025
@Mic92 Mic92 deleted the flake-archive branch August 5, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-cli Relating to the "nix" command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant